<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">

    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>

    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>

    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    img {
        width: 100%;
        height: 100%;
    }

    .carousel-control-next {
        background-color: transparent;
    }

    .carousel-control-prev {
        background-color: transparent;
    }

    button {
        border: 0;
        position: relative;
        left: 500px;
        margin-left: 400px;
        margin-bottom: 150px;
    }

    .carousel-inner {
        width: 600px;
        height: 500px;
    }

    span:first-child {
        background-color: red;
    }

    #carouselExampleIndicators {
        display: flex;
        justify-content: center;
    }

    /* 下标 */
    .carousel-indicators {
        position: absolute;
        top: 300px;
    }
</style>

<body>
    <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
        <ol class="carousel-indicators">
            <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
            <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
            <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
        </ol>
        <div class="carousel-inner">
            <div class="carousel-item active">
                <img src="../image/q.music,ping.png" class="d-block w-100" alt="...">
            </div>
            <div class="carousel-item">
                <img src="../image/黄昏.png" class="d-block w-100" alt="...">
            </div>
            <div class="carousel-item">
                <img src="../image/夕阳.png" class="d-block w-100" alt="...">
            </div>
        </div>
        <button class="carousel-control-prev" type="button" data-target="#carouselExampleIndicators" data-slide="prev">
            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
            <span class="sr-only">Previous</span>
        </button>
        <button class="carousel-control-next" type="button" data-target="#carouselExampleIndicators" data-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
        </button>
    </div>
</body>

</html>